package tanshiru2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
//@TableName("medicine")
public class Illness {
    @TableId(type = IdType.AUTO)
    public Integer id;
    public Integer kindId;
    public String illnessName;
    public String includeReason;
    public String illnessSymptom;
    public String specialSymptom;
    public Date createTime;
    public Date updateTime;
    @TableField(exist = false)
    private String kindName;
    @TableField(exist = false)
    private Integer pageView;
}
